package com.example.mypplication

import org.junit.Assert.*
import org.junit.Test

/**
 * Example local unit test, which will execute on the development machine (host).
 *
 * See [testing documentation](http://d.android.com/tools/testing).
 */
class ExampleUnitTest {
    @Test
    fun addition_isCorrect() {
        assertEquals(4, 2 + 2)
    }

    @Test
    fun test() {
        val tDemo: TextT1 = TextT1()
        tDemo.addListNode(1)
        tDemo.addListNode(2)
        tDemo.addListNode(3)
        tDemo.addListNode(4)
        tDemo.addListNode(5)
        tDemo.addListNode(6)
        tDemo.outPutListNode()

        tDemo.inputNumToRollBack(2)
        tDemo.outPutListNode()
    }
}